```html
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>MySQL安装指南 | 技术小馆</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css">
    <link rel="stylesheet" href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
            color: #333;
            line-height: 1.6;
        }
        h1, h2, h3 {
            font-family: 'Noto Serif SC', serif;
            font-weight: 600;
        }
        .hero-bg {
            background: linear-gradient(135deg, #6e8efb 0%, #a777e3 100%);
        }
        .step-card {
            transition: all 0.3s ease;
            border-left: 4px solid #6e8efb;
        }
        .step-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        }
        .command-box {
            background-color: #2d3748;
            color: #f7fafc;
            font-family: 'Courier New', monospace;
        }
        .img-container {
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            border-radius: 8px;
            overflow: hidden;
        }
        .mermaid {
            background-color: #f8f9fa;
            padding: 20px;
            border-radius: 8px;
        }
    </style>
</head>
<body class="bg-gray-50">
    <!-- Hero Section -->
    <section class="hero-bg text-white py-20 px-4">
        <div class="container mx-auto max-w-6xl">
            <div class="flex flex-col md:flex-row items-center">
                <div class="md:w-1/2 mb-10 md:mb-0">
                    <h1 class="text-4xl md:text-5xl font-bold mb-4">MySQL 5.6 安装指南</h1>
                    <p class="text-xl mb-6 opacity-90">从零开始，在Linux系统上安装和配置MySQL 5.6数据库</p>
                    <div class="flex items-center">
                        <div class="w-10 h-10 rounded-full bg-white text-purple-600 flex items-center justify-center mr-3">
                            <i class="fas fa-database text-xl"></i>
                        </div>
                        <div>
                            <p class="text-sm opacity-80">技术小馆出品</p>
                        </div>
                    </div>
                </div>
                <div class="md:w-1/2 flex justify-center">
                    <div class="relative">
                        <div class="w-64 h-64 bg-white bg-opacity-20 rounded-full absolute -top-5 -left-5"></div>
                        <div class="w-64 h-64 bg-white bg-opacity-10 rounded-full absolute -bottom-5 -right-5"></div>
                        <img src="https://cdn-icons-png.flaticon.com/512/1199/1199128.png" alt="MySQL Logo" class="relative z-10 w-64 h-64">
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Main Content -->
    <main class="container mx-auto max-w-6xl px-4 py-12">
        <!-- Overview -->
        <section class="mb-16">
            <h2 class="text-3xl font-bold mb-6 text-gray-800 flex items-center">
                <span class="w-8 h-8 bg-blue-500 rounded-full flex items-center justify-center text-white mr-3">1</span>
                MySQL 5.6 安装流程概览
            </h2>
            <div class="mermaid">
                graph TD
                    A[检查是否已安装MySQL] --> B[下载安装文件]
                    B --> C[安装yum源]
                    C --> D[安装MySQL服务]
                    D --> E[启动MySQL服务]
                    E --> F[设置root密码]
                    F --> G[设置远程访问]
            </div>
        </section>

        <!-- Installation Steps -->
        <section>
            <h2 class="text-3xl font-bold mb-8 text-gray-800">详细安装步骤</h2>
            
            <!-- Step 1 -->
            <div class="step-card bg-white rounded-lg p-6 mb-8 shadow-md">
                <div class="flex items-start mb-4">
                    <div class="bg-blue-100 text-blue-600 rounded-full w-10 h-10 flex items-center justify-center mr-4">
                        <span class="font-bold">1</span>
                    </div>
                    <div>
                        <h3 class="text-2xl font-semibold text-gray-800">检查系统中是否已经安装MySQL</h3>
                    </div>
                </div>
                <div class="ml-14">
                    <div class="command-box rounded-lg p-4 mb-4">
                        <code>rpm -qa | grep mysql</code>
                    </div>
                    <p class="text-gray-600 mb-4">返回空值的话，就说明没有安装 MySQL。</p>
                    <div class="img-container">
                        <img src="https://cdn.nlark.com/yuque/0/2023/png/21449790/1692181124587-858d9d0e-f2e3-4637-bc82-058e68f79a84.png" alt="检查MySQL安装" class="w-full">
                    </div>
                </div>
            </div>

            <!-- Step 2 -->
            <div class="step-card bg-white rounded-lg p-6 mb-8 shadow-md">
                <div class="flex items-start mb-4">
                    <div class="bg-blue-100 text-blue-600 rounded-full w-10 h-10 flex items-center justify-center mr-4">
                        <span class="font-bold">2</span>
                    </div>
                    <div>
                        <h3 class="text-2xl font-semibold text-gray-800">下载安装文件</h3>
                    </div>
                </div>
                <div class="ml-14">
                    <div class="command-box rounded-lg p-4 mb-4">
                        <code>wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm</code>
                    </div>
                </div>
            </div>

            <!-- Step 3 -->
            <div class="step-card bg-white rounded-lg p-6 mb-8 shadow-md">
                <div class="flex items-start mb-4">
                    <div class="bg-blue-100 text-blue-600 rounded-full w-10 h-10 flex items-center justify-center mr-4">
                        <span class="font-bold">3</span>
                    </div>
                    <div>
                        <h3 class="text-2xl font-semibold text-gray-800">安装mysql-community-release-el包</h3>
                    </div>
                </div>
                <div class="ml-14">
                    <div class="command-box rounded-lg p-4 mb-4">
                        <code>rpm -ivh mysql-community-release-el7-5.noarch.rpm</code>
                    </div>
                    <p class="text-gray-600 mb-4">安装完成之后，会在 /etc/yum.repos.d/ 目录下新增 mysql-community.repo 、mysql-community-source.repo 两个 yum 源文件。</p>
                    <div class="grid md:grid-cols-2 gap-4">
                        <div class="img-container">
                            <img src="https://cdn.nlark.com/yuque/0/2023/png/21449790/1692181124769-d098f988-7679-45e0-95b0-7ca2b1b105a1.png" alt="安装rpm包" class="w-full">
                        </div>
                        <div class="img-container">
                            <img src="https://cdn.nlark.com/yuque/0/2023/png/21449790/1692181124974-b12528f3-4f55-4965-9bd0-0c4381e3deed.png" alt="yum源文件" class="w-full">
                        </div>
                    </div>
                </div>
            </div>

            <!-- Step 4 -->
            <div class="step-card bg-white rounded-lg p-6 mb-8 shadow-md">
                <div class="flex items-start mb-4">
                    <div class="bg-blue-100 text-blue-600 rounded-full w-10 h-10 flex items-center justify-center mr-4">
                        <span class="font-bold">4</span>
                    </div>
                    <div>
                        <h3 class="text-2xl font-semibold text-gray-800">安装mysql</h3>
                    </div>
                </div>
                <div class="ml-14">
                    <div class="command-box rounded-lg p-4 mb-4">
                        <code>yum install mysql-server</code>
                    </div>
                    <div class="img-container">
                        <img src="https://cdn.nlark.com/yuque/0/2023/png/21449790/1692181125205-6c0873b6-6e6e-47f1-ac33-8eb58835bd04.png" alt="安装MySQL" class="w-full">
                    </div>
                </div>
            </div>

            <!-- Step 5 -->
            <div class="step-card bg-white rounded-lg p-6 mb-8 shadow-md">
                <div class="flex items-start mb-4">
                    <div class="bg-blue-100 text-blue-600 rounded-full w-10 h-10 flex items-center justify-center mr-4">
                        <span class="font-bold">5</span>
                    </div>
                    <div>
                        <h3 class="text-2xl font-semibold text-gray-800">检查mysql是否安装成功</h3>
                    </div>
                </div>
                <div class="ml-14">
                    <div class="command-box rounded-lg p-4 mb-4">
                        <code>rpm -qa | grep mysql</code>
                    </div>
                    <div class="img-container">
                        <img src="https://cdn.nlark.com/yuque/0/2023/png/21449790/1692181125422-7ef08896-3fc5-4504-a0dd-3e824a207165.png" alt="检查MySQL安装" class="w-full">
                    </div>
                </div>
            </div>

            <!-- Step 6 -->
            <div class="step-card bg-white rounded-lg p-6 mb-8 shadow-md">
                <div class="flex items-start mb-4">
                    <div class="bg-blue-100 text-blue-600 rounded-full w-10 h-10 flex items-center justify-center mr-4">
                        <span class="font-bold">6</span>
                    </div>
                    <div>
                        <h3 class="text-2xl font-semibold text-gray-800">启动mysql服务</h3>
                    </div>
                </div>
                <div class="ml-14">
                    <div class="command-box rounded-lg p-4 mb-4">
                        <code>systemctl start mysqld.service     #启动 mysql</code><br>
                        <code>systemctl restart mysqld.service   #重启 mysql</code><br>
                        <code>systemctl stop mysqld.service     #停止 mysql</code><br>
                        <code>systemctl enable mysqld.service   #设置 mysql 开机启动</code>
                    </div>
                </div>
            </div>

            <!-- Step 7 -->
            <div class="step-card bg-white rounded-lg p-6 mb-8 shadow-md">
                <div class="flex items-start mb-4">
                    <div class="bg-blue-100 text-blue-600 rounded-full w-10 h-10 flex items-center justify-center mr-4">
                        <span class="font-bold">7</span>
                    </div>
                    <div>
                        <h3 class="text-2xl font-semibold text-gray-800">查看mysql服务是否启动成功</h3>
                    </div>
                </div>
                <div class="ml-14">
                    <div class="img-container">
                        <img src="https://cdn.nlark.com/yuque/0/2023/png/21449790/1692181125644-a11f088e-dc37-499a-8220-a72ddf9bba2b.png" alt="检查MySQL服务状态" class="w-full">
                    </div>
                </div>
            </div>

            <!-- Step 8 -->
            <div class="step-card bg-white rounded-lg p-6 mb-8 shadow-md">
                <div class="flex items-start mb-4">
                    <div class="bg-blue-100 text-blue-600 rounded-full w-10 h-10 flex items-center justify-center mr-4">
                        <span class="font-bold">8</span>
                    </div>
                    <div>
                        <h3 class="text-2xl font-semibold text-gray-800">设置密码</h3>
                    </div>
                </div>
                <div class="ml-14">
                    <p class="text-gray-600 mb-4">mysql5.6 安装完成后，它的 root 用户的密码默认是空的，我们需要及时用 mysql 的 root 用户登录并修改密码</p>
                    <div class="command-box rounded-lg p-4 mb-4">
                        <code>mysql -u root -- 进入MySQL</code><br>
                        <code>mysql> use mysql; -- 使用自动mysql数据库</code><br>
                        <code>mysql> update user set password=PASSWORD("这里输入root用户密码") where User='root'; -- 修改root账号密码</code><br>
                        <code>mysql> flush privileges; -- 刷新MySQL的系统权限</code>
                    </div>
                    <div class="img-container">
                        <img src="https://cdn.nlark.com/yuque/0/2023/png/21449790/1692181125840-9305202f-c776-4240-a7f5-be8f3f1e4acc.png" alt="设置MySQL密码" class="w-full">
                    </div>
                </div>
            </div>

            <!-- Step 9 -->
            <div class="step-card bg-white rounded-lg p-6 mb-8 shadow-md">
                <div class="flex items-start mb-4">
                    <div class="bg-blue-100 text-blue-600 rounded-full w-10 h-10 flex items-center justify-center mr-4">
                        <span class="font-bold">9</span>
                    </div>
                    <div>
                        <h3 class="text-2xl font-semibold text-gray-800">设置远程主机登录</h3>
                    </div>
                </div>
                <div class="ml-14">
                    <div class="command-box rounded-lg p-4 mb-4">
                        <code>GRANT ALL PRIVILEGES ON *.* TO root@"%" IDENTIFIED BY "root";</code>
                    </div>
                    <div class="img-container">
                        <img src="https://cdn.nlark.com/yuque/0/2023/png/21449790/1692181126048-2ca90f09-dcac-44a1-8cef-0ab4d69fbe1f.png" alt="设置远程访问" class="w-full">
                    </div>
                </div>
            </div>

            <!-- Step 10 -->
            <div class="step-card bg-white rounded-lg p-6 mb-8 shadow-md">
                <div class="flex items-start mb-4">
                    <div class="bg-blue-100 text-blue-600 rounded-full w-10 h-10 flex items-center justify-center mr-4">
                        <span class="font-bold">10</span>
                    </div>
                    <div>
                        <h3 class="text-2xl font-semibold text-gray-800">Linux卸载MySQL</h3>
                    </div>
                </div>
                <div class="ml-14">
                    <p class="text-gray-600 mb-4">若该系统已经安装过mysql需要卸载，然后重新进行安装Mysql5+。这里可以参考下面的命令进行删除。</p>
                    <div class="command-box rounded-lg p-4">
                        <code>yum remove mysql mysql-server mysql-libs mysql-server</code><br>
                        <code>find / -name mysql :将找到的相关东西delete掉；</code><br>
                        <code>rpm -qa|grep mysql(若有，将查询出来的东西yum remove掉)</code>
                    </div>
                </div>
            </div>
        </section>
    </main>

    <!-- Footer -->
    <footer class="bg-gray-900 text-gray-300 py-8">
        <div class="container mx-auto max-w-6xl px-4">
            <div class="flex flex-col md:flex-row justify-between items-center">
                <div class="mb-4 md:mb-0">
                    <h3 class="text-xl font-bold text-white mb-2">技术小馆</h3>
                    <p class="text-gray-400">分享优质技术教程与资源</p>
                </div>
                <div>
                    <a href="http://www.yuque.com/jtostring" class="text-blue-400 hover:text-blue-300 transition-colors duration-300 flex items-center">
                        <i class="fas fa-external-link-alt mr-2"></i>
                        http://www.yuque.com/jtostring
                    </a>
                </div>
            </div>
            <div class="border-t border-gray-800 mt-6 pt-6 text-center text-gray-500 text-sm">
                <p>© 2023 技术小馆. All rights reserved.</p>
            </div>
        </div>
    </footer>

    <script>
        mermaid.initialize({
            startOnLoad: true,
            theme: 'default',
            flowchart: {
                useMaxWidth: false,
                htmlLabels: true,
                curve: 'basis'
            }
        });
    </script>
</body>
</html>
```